package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ClientDevelopmentPlan;
import cn.wolfcode.crm.query.ClientDevelopmentPlanObjectQuery;
import cn.wolfcode.crm.query.ObjectQuery;

import java.util.List;

public interface ClientDevelopmentPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClientDevelopmentPlan record);

    ClientDevelopmentPlan selectByPrimaryKey(Long id);

    List<ClientDevelopmentPlan> selectAll();

    int updateByPrimaryKey(ClientDevelopmentPlan record);
    int queryForCount(ObjectQuery qo);

    List<ClientDevelopmentPlan> queryForList(ClientDevelopmentPlanObjectQuery qo);

    Long  getDevelopmentPlanIDByClientId(Long id);
}